<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">伪静态设置</a></li>
    </ul>
    <style type="text/css">
        .layui-form-radio{margin-top: 0;}
        .form-group{padding-left: 160px;}
        .form-group div span{cursor: pointer;color: red;}
    </style>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20 layui-form" action="{:url('route/RouteConfig')}">
        <div class="form-group">
            <div class="layui-form-item">
                <div>
                  <input type="radio" name="status" value="1" title="目录名称" {$urlset.content == 1 ? 'checked' : ''}>( <span>示例</span> )<br>
                  <input type="radio" name="status" value="2" title="模型标识" {$urlset.content == 2 ? 'checked' : ''}>( <span>示例</span> )<br>
                  <input type="radio" name="status" value="3" title="整链" {$urlset.content == 3 ? 'checked' : ''}>( <span>示例</span> )<br>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>

<script>
    layui.use('form', function(){

    })
    $('.form-group div span').hover(function (){
        var status = $(this).prevAll('input').val();
        if(status == 1){
            var ustr = ' : '+"{$_SERVER.SERVER_NAME}"+'/about';
        }else if(status == 2){
            var ustr = ' : '+"{$_SERVER.SERVER_NAME}"+'/article/about';
        }else{
            var ustr = ' : '+"{$_SERVER.SERVER_NAME}"+'/portal/article/about';
        }
        $(this).html($(this).html()+ustr);
    },function(){
        $(this).html('示例');
    })
</script>
</body>
</html>